﻿namespace CardGameCore.Battle
{
    public class EnemySelectCard : IEnemySelectCard
    {
        private readonly IBattlefield _battlefield;
        private readonly ISelectCardAi _selectCardAi;
        
        public EnemySelectCard(
            IBattlefield battlefield,
            ISelectCardAi selectCardAi)
        {
            _battlefield = battlefield;
            _selectCardAi = selectCardAi;
        }

        public void Process()
        {
            _selectCardAi.Process(_battlefield.Enemy);
        }
    }
}